package com.record.controller;

import com.record.annotation.AllowWord;
import com.record.entity.req.ForbiddentReq;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/check")
public class CheckForbiddenController {

    @AllowWord
    @GetMapping("/forbidden")
    public String  checkForbidden(ForbiddentReq req) {

        return "校验结果请到控制台看";
     }
}
